@import '../../styles/colors.less';
.cm-from-label{
    display: inline-block;
    text-align: right;
    vertical-align: middle;
    float: left;
    font-size: 14px;
    color: #515a6e;
    line-height: 1;
    padding: 10px 12px 10px 0;
    box-sizing: border-box;
    &.cm-form-label-required:before{
        content: "*";
        display: inline-block;
        margin-right: 4px;
        line-height: 1;
        font-family: SimSun;
        font-size: 14px;
        color: @color-danger;
    }
}
.cm-form-item-layout-inline {
    display: inline-block;
    white-space: nowrap;
    &.cm-form-item{
        margin-bottom: 0;
    }
    .cm-form-item-content{
        display: inline-block;
    }
}
.cm-form-item{
    vertical-align: middle;
    zoom: 1;
    margin-bottom: 15px;
    &:before,
    &:after{
        content: "";
        display: table;
        clear: both;
    }
}
&.cm-form-item-invalid{
    .cm-input{
        border-color: @color-danger!important;
    }
}

.cm-form-item-content {
    position: relative;
    line-height: 32px;
    font-size: 14px;
    &>label{
        line-height: 34px;
    }
}
.cm-form-item-error-tip {
    position: absolute;
    top: 100%;
    left: 0;
    line-height: 1;
    padding-top: 2px;
    color: @color-danger;
    font-size: 12px;
}